package com.erp.pur.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 采购主表
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-11-09 09:57:14
 */
@Data
public class GroupDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//采购合同编号
	@Excel(name = "采购合同编号", orderNum = "1")
	private String groupid;
	//状态
	private Integer status;
	@Excel(name = "状态", orderNum = "5")
	private String statusname;
	//供应商_ID
	private Long supplierId;
	//供应商_名称
	@Excel(name = "供应商名称", orderNum = "6")
	private String supplierName;
	//创建人ID
	private Long userIdCreate;
	//创建人
	private String userNameCreate;
	//创建时间
	private Date gmtCreate;
	//采购时间
	private Date signTime;
	//入库时间
	private Date storTime;
	//备注
	private String remark;
	//总采购价
	@Excel(name = "总采购价", orderNum = "8")
	private BigDecimal allPurprice;
	//税率
	@Excel(name = "税率", orderNum = "7")
	private Double taxRate;
	//采购内容
	private String purDescr;
	//已付价格
	@Excel(name = "已付金额", orderNum = "9")
	private BigDecimal paymentPrice;
	//未付价格
	private BigDecimal nopaymentPrice;
	//已开票金额
	@Excel(name = "已开票金额", orderNum = "10")
	private Double invoicePrice;
	//未开票金额
	private Double noinvoicePrice;
	//项目ID
	private Long projectId;
	//项目名称
	@Excel(name = "项目名称", orderNum = "3")
	private String projectName;
	//采购类型：1 公司采购 2现场采购 3 工厂分包 4其他
	private Integer purType;
	@Excel(name = "采购类型", orderNum = "4")
	private String purTypeName;
	//合同签订人ID
	private Long contractUserid;
	//合同签订人
	@Excel(name = "合同签订人", orderNum = "11")
	private String contractUsername;

	private BigDecimal outstockPrice;

}
